<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var s = prompt("请输入星期数");
			s = Number(s);
			switch(s){
				case 1:
					console.log("周一");
					break;
				case 2:
					console.log("周二");
					break;
				case 3:
					console.log("周三");
					break;
				case 4:
					console.log("周四");
					break;
				case 5:
					console.log("周五");
					break;
				case 6:
					console.log("周六");
					break;
				case 7:
					console.log("周天");
					break;
				default:
					console.log("垃圾");
					break
			}
		</script>
	</body>
</html>
